package legoproject;

public class Instruction {

    private int type;
    private int arg1;
    private int arg2;

    public Instruction(int type, int arg1, int arg2) {
        this.type = type;
        this.arg1 = arg1;
        this.arg2 = arg2;
    }

    public int getType() {
        return type;
    }

    public int getArg1() {
        return arg1;
    }

    public int getArg2() {
        return arg2;
    }

    public String toString() {
        return "type: " + type + "args: (" + arg1 + "," + arg2 + ")";
    }
}
